<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/css/zTreeStyle/zTreeStyle.css"
			type="text/css">
			<script type="text/javascript"
				src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
			<script type="text/javascript"
				src="${pageContext.request.contextPath}/js/jquery.ztree.all-3.5.min.js"></script>
			<SCRIPT type="text/javascript">
	var setting = {
		async : {
			enable : true,
			url : "../initMenu.action?r="+Math.random(),
			autoParam : [ "id", "name=n", "level=lv" ]
		},
		data: {
				simpleData: {
					enable: true
				}
				}
	};

	$(document).ready(function() {
		$.fn.zTree.init($("#treeDemo"), setting);
	});
	//-->
</SCRIPT>
	</head>

	<body>

		<div>
			<ul id="treeDemo" class="ztree"></ul>
		</div>
	</body>
</html>
